package com.travel.dao;

import com.travel.entity.Travel;

import java.util.List;

public interface TravelDao {

    List<Travel> getAll();

    Travel getOne(Integer id);

    void add(Travel travel);

    void delete(Integer id);

}
